package com.monkeys.pojo;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
/**
 * @author KuangTeam
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
//路线对象
public class Routing {
    private Long id;
    private String startPointName; //起点名
    private String endPointName;   //终点名
    private Double startPointLng;  //开始经度
    private Double startPointLat;  //开始纬度
    private Double endPointLng;   //结束经度
    private Double endPointLat;   //结束纬度
    private Double distance;      //路程(km)
    private String roadType;      //公路类型
    private List<Poi> keyPoints;  //路线中关键poi
}
